//
//  HXQYPictureCollectionView.h
//  KD
//
//  Created by 梅洋 on 16/7/29.
//  Copyright © 2016年 Whx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HXJobPunishDetailsModel.h"

//block
typedef void(^SelectReturnTapCell)(HXJobPunishDetailsListModel * listModel);
typedef void(^ReturnDeleteDataArray)(NSMutableArray <HXJobPunishDetailsListModel *>* modelDataArray , NSInteger firstIndex);

@interface HXQYPictureCollectionView : UICollectionView

/**重写init方法  1.frame  2.长按手势是否能使用*/
-(instancetype)initWithFrame:(CGRect)frame withIsUsed:(BOOL)isUsed withHXCollectionViewType:(HXCollectionViewType)type;

//企业检查
@property (nonatomic,strong) NSMutableArray <HXJobPunishDetailsListModel *> * dataArray;//数据源数组
//block 单元格点击时 返回model
@property (nonatomic,copy)   SelectReturnTapCell block;
-(void)SelectReturnTapCell:(SelectReturnTapCell)block;
//block  单元格长按时删除操作 返回数组
@property (nonatomic,copy) ReturnDeleteDataArray arrayBlock;
-(void)ReturnDeleteDataArray:(ReturnDeleteDataArray)arrayBlock;

//判断是否可以用
@property (nonatomic,assign) BOOL isUsed;

@end
